package com.smh.aiagent.agent;

import jakarta.annotation.Resource;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

/**
 * @author shiminghui
 * @date 2025/6/8 17:15
 * @description: TODO
 */
@SpringBootTest
public class SmhAgentText {
    @Resource
    private SmhAgent smhAgent;

    @Test
    public void test() {
        String result = smhAgent.run("帮我找到廊坊市,广阳区附近的ktv,并将其详细信息整理,将结果保存为pdf文件");
        System.out.println(result);
    }

    @Test
    public void test2() {
        String result = smhAgent.run("给我造一个火箭");
        System.out.println(result);
    }
}
